Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
ISearchResults::AddDoc Method
ISearchResults Interface | ISearchResults Interface | Send Feedback

Add a specific document from an index to the search results list.

[id(20), helpstring("method AddDoc")]
HRESULT AddDoc([in] BSTR indexPath, [in] LONG docId, [in] VARIANT hits);
Description

docId is a document id identifying the document to add. hits is an array of integers containing the word offsets of the hits for this document. See the IndexInfo.vbs sample for an example of how AddDoc can be used.

Interface
Links
You are here: COM Interface > Interfaces > ISearchResults Interface > ISearchResults::AddDoc Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.